// Package ioc
// Created by GoLand
// @User: lenora
// @Date: 2024/1/14
// @Time: 17:12

package ioc

import (
	"camp/microbook/pkg/logger"
	"go.uber.org/zap"
)

func InitLogger() logger.Logger {
	log, err := zap.NewDevelopment()
	if err != nil {
		panic(err)
	}
	return logger.NewZapLogger(log)

}
